package org.linuxsogood.boot.misc;

/**
 * @author liu.hongwei
 * @since 2020/9/4 13:10
 */
public enum AnimalEnums implements Animal{
    CAT {
        @Override
        public void eat() {
            System.out.println("I like fish.");
        }
    },
    DOG {
        @Override
        public void eat() {
            System.out.println("I like bone.");
        }
    },
    SHEEP {
        @Override
        public void eat() {
            System.out.println("I like grass.");
        }
    }
    ;

}
